import request from '@/plugins/request.js'
export function fetchList (query) {
  return request({
    url: '/www/category',
    method: 'GET',
    params: query
  })
}
export function fetchOne (id) {
  return request({
    url: '/www/category/' + id,
    method: 'GET'
  })
}
